home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Jun 89 / V0042-Re WDEF's in MacApp-Jun89 < prev    next >
Encoding:
Text File  |  1989-06-26  |  1.1 KB  |  46 lines  |  [TEXT/GEOL]

  1. Item    9599412                         15-June-89        10:55
  2.  
  3. From:   MOOF                            Rollin, Keith A, APL
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Re- WDEF's in MacApp
  8.  
  9. Tom,
  10.  
  11. The 'view' resource should support other WDEFs. I haven't actually tried this,
  12. but it looks like the first field after your window's class name holds the
  13. procID of the window you want to use. For instance,
  14.  
  15.       /* Window view */
  16.       root, 'WIND',
  17.       { 50, 8 },
  18.       { kWindowHeight, kWindowWidth },
  19.       sizeVariable, sizeVariable, notShown, enabled,
  20.       Window {
  21.          "TWindow",
  22.          zoomDocProc,       <<--- Set this to the right value for your WDEF
  23.          goAwayBox,
  24.          resizable,
  25.          modeless,
  26.          ignoreFirstClick,
  27.          dontFreeOnClosing,
  28.          disposeOnFree,
  29.          closesDocument,
  30.          openWithDocument,
  31.          adaptToScreen,
  32.          dontStagger,
  33.          forceOnScreen,
  34.          dontCenter,
  35.          'targ',
  36.          "<<<>>>"
  37.       },
  38.  
  39.  
  40. Hope this helps,
  41.  
  42. - Keith Rollin
  43. - Apple Developer Technical Support
  44.  
  45.  
  46.